package com.vanstone.imgapp.common.id.dal;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.vanstone.dal.mybatis.MyBatisRepository;
import com.vanstone.imgapp.common.id.dal.object.IDTemplateDO;

@MyBatisRepository
public interface IDTemplateDOMapper {

  int insert(IDTemplateDO record);

  int initial_table(@Param("tablename") String tablename);

  List<String> select_tablenames();

  int delete_all(@Param("tablename") String tablename);

  Long select_max(@Param("tablename") String tablename);
}
